package com.easy.service;

import com.easy.bean.UserAddress;

import java.util.List;

public interface IUserAddressService {
    int add( UserAddress address);
    int edit( UserAddress address);

    int delete(int id);

    UserAddress getAddressByID(int id);

    List<UserAddress> getAddressByUserID(int userid);

    int setDefault(int userid,int id);
}
